home *** CD-ROM | disk | FTP | other *** search
/ Game.EXE 2004 July / My Disc.iso / patch / UT2004 / ut2004-winpatch3236.exe / UT2004-Patch / System / UTClassic.u / HitLocation_ClassicBulletTrail_ScriptText.TextBuffer < prev    next >
Unknown  |  2004-06-11  |  2.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 53 22 63 6c 61 73 73 20 |........|S"class |
|00000010| 43 6c 61 73 73 69 63 42 | 75 6c 6c 65 74 54 72 61 |ClassicB|ulletTra|
|00000020| 69 6c 20 65 78 74 65 6e | 64 73 20 78 45 6d 69 74 |il exten|ds xEmit|
|00000030| 74 65 72 3b 0d 0a 0d 0a | 76 61 72 20 56 65 63 74 |ter;....|var Vect|
|00000040| 6f 72 20 48 69 74 4e 6f | 72 6d 61 6c 3b 0d 0a 76 |or HitNo|rmal;..v|
|00000050| 61 72 20 63 6c 61 73 73 | 3c 53 68 6f 63 6b 4d 75 |ar class|<ShockMu|
|00000060| 7a 46 6c 61 73 68 3e 20 | 4d 75 7a 46 6c 61 73 68 |zFlash> |MuzFlash|
|00000070| 43 6c 61 73 73 3b 0d 0a | 76 61 72 20 63 6c 61 73 |Class;..|var clas|
|00000080| 73 3c 53 68 6f 63 6b 4d | 75 7a 46 6c 61 73 68 33 |s<ShockM|uzFlash3|
|00000090| 72 64 3e 20 4d 75 7a 46 | 6c 61 73 68 33 43 6c 61 |rd> MuzF|lash3Cla|
|000000a0| 73 73 3b 0d 0a 0d 0a 72 | 65 70 6c 69 63 61 74 69 |ss;....r|eplicati|
|000000b0| 6f 6e 0d 0a 7b 0d 0a 20 | 20 20 20 72 65 6c 69 61 |on..{.. | relia|
|000000c0| 62 6c 65 20 69 66 20 28 | 62 4e 65 74 49 6e 69 74 |ble if (|bNetInit|
|000000d0| 69 61 6c 20 26 26 20 52 | 6f 6c 65 20 3d 3d 20 52 |ial && R|ole == R|
|000000e0| 4f 4c 45 5f 41 75 74 68 | 6f 72 69 74 79 29 0d 0a |OLE_Auth|ority)..|
|000000f0| 20 20 20 20 20 20 20 20 | 48 69 74 4e 6f 72 6d 61 | |HitNorma|
|00000100| 6c 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |l;..}...|.functio|
|00000110| 6e 20 41 69 6d 41 74 28 | 56 65 63 74 6f 72 20 68 |n AimAt(|Vector h|
|00000120| 6c 2c 20 56 65 63 74 6f | 72 20 68 6e 29 0d 0a 7b |l, Vecto|r hn)..{|
|00000130| 0d 0a 20 20 20 20 48 69 | 74 4e 6f 72 6d 61 6c 20 |.. Hi|tNormal |
|00000140| 3d 20 68 6e 3b 0d 0a 20 | 20 20 20 6d 53 70 61 77 |= hn;.. | mSpaw|
|00000150| 6e 56 65 63 41 20 3d 20 | 68 6c 3b 0d 0a 20 20 20 |nVecA = |hl;.. |
|00000160| 20 69 66 20 28 4c 65 76 | 65 6c 2e 4e 65 74 4d 6f | if (Lev|el.NetMo|
|00000170| 64 65 20 21 3d 20 4e 4d | 5f 44 65 64 69 63 61 74 |de != NM|_Dedicat|
|00000180| 65 64 53 65 72 76 65 72 | 29 0d 0a 20 20 20 20 20 |edServer|).. |
|00000190| 20 20 20 53 70 61 77 6e | 45 66 66 65 63 74 73 28 | Spawn|Effects(|
|000001a0| 29 3b 0d 0a 7d 0d 0a 0d | 0a 73 69 6d 75 6c 61 74 |);..}...|.simulat|
|000001b0| 65 64 20 66 75 6e 63 74 | 69 6f 6e 20 50 6f 73 74 |ed funct|ion Post|
|000001c0| 4e 65 74 42 65 67 69 6e | 50 6c 61 79 28 29 0d 0a |NetBegin|Play()..|
|000001d0| 7b 0d 0a 20 20 20 20 4d | 61 6b 65 4e 6f 69 73 65 |{.. M|akeNoise|
|000001e0| 28 30 2e 35 29 3b 0d 0a | 09 0d 0a 20 20 20 20 69 |(0.5);..|... i|
|000001f0| 66 20 28 52 6f 6c 65 20 | 3c 20 52 4f 4c 45 5f 41 |f (Role |< ROLE_A|
|00000200| 75 74 68 6f 72 69 74 79 | 29 0d 0a 20 20 20 20 20 |uthority|).. |
|00000210| 20 20 20 53 70 61 77 6e | 45 66 66 65 63 74 73 28 | Spawn|Effects(|
|00000220| 29 3b 0d 0a 7d 0d 0a 0d | 0a 73 69 6d 75 6c 61 74 |);..}...|.simulat|
|00000230| 65 64 20 66 75 6e 63 74 | 69 6f 6e 20 53 70 61 77 |ed funct|ion Spaw|
|00000240| 6e 45 66 66 65 63 74 73 | 28 29 0d 0a 7b 0d 0a 20 |nEffects|()..{.. |
|00000250| 20 20 20 6c 6f 63 61 6c | 20 78 57 65 61 70 6f 6e | local| xWeapon|
|00000260| 41 74 74 61 63 68 6d 65 | 6e 74 20 41 74 74 61 63 |Attachme|nt Attac|
|00000270| 68 6d 65 6e 74 3b 0d 0a | 09 6c 6f 63 61 6c 20 50 |hment;..|.local P|
|00000280| 6c 61 79 65 72 43 6f 6e | 74 72 6f 6c 6c 65 72 20 |layerCon|troller |
|00000290| 50 43 3b 0d 0a 09 6c 6f | 63 61 6c 20 76 65 63 74 |PC;...lo|cal vect|
|000002a0| 6f 72 20 44 69 72 2c 20 | 4c 69 6e 65 44 69 72 2c |or Dir, |LineDir,|
|000002b0| 20 4e 65 77 4c 6f 63 61 | 74 69 6f 6e 2c 20 4c 69 | NewLoca|tion, Li|
|000002c0| 6e 65 50 6f 73 3b 0d 0a | 09 0d 0a 20 20 20 20 69 |nePos;..|... i|
|000002d0| 66 20 28 49 6e 73 74 69 | 67 61 74 6f 72 20 21 3d |f (Insti|gator !=|
|000002e0| 20 4e 6f 6e 65 29 0d 0a | 20 20 20 20 7b 0d 0a 20 | None)..| {.. |
|000002f0| 20 20 20 20 20 20 20 69 | 66 20 28 20 49 6e 73 74 | i|f ( Inst|
|00000300| 69 67 61 74 6f 72 2e 49 | 73 46 69 72 73 74 50 65 |igator.I|sFirstPe|
|00000310| 72 73 6f 6e 28 29 20 29 | 0d 0a 20 20 20 20 20 20 |rson() )|.. |
|00000320| 20 20 7b 0d 0a 09 09 09 | 69 66 20 28 20 28 49 6e | {.....|if ( (In|
|00000330| 73 74 69 67 61 74 6f 72 | 2e 57 65 61 70 6f 6e 20 |stigator|.Weapon |
|00000340| 21 3d 20 4e 6f 6e 65 29 | 20 26 26 20 28 49 6e 73 |!= None)| && (Ins|
|00000350| 74 69 67 61 74 6f 72 2e | 57 65 61 70 6f 6e 2e 49 |tigator.|Weapon.I|
|00000360| 6e 73 74 69 67 61 74 6f | 72 20 3d 3d 20 49 6e 73 |nstigato|r == Ins|
|00000370| 74 69 67 61 74 6f 72 29 | 20 29 0d 0a 09 09 09 09 |tigator)| )......|
|00000380| 53 65 74 4c 6f 63 61 74 | 69 6f 6e 28 49 6e 73 74 |SetLocat|ion(Inst|
|00000390| 69 67 61 74 6f 72 2e 57 | 65 61 70 6f 6e 2e 47 65 |igator.W|eapon.Ge|
|000003a0| 74 45 66 66 65 63 74 53 | 74 61 72 74 28 29 29 3b |tEffectS|tart());|
|000003b0| 0d 0a 09 09 09 65 6c 73 | 65 0d 0a 09 09 09 09 53 |.....els|e......S|
|000003c0| 65 74 4c 6f 63 61 74 69 | 6f 6e 28 49 6e 73 74 69 |etLocati|on(Insti|
|000003d0| 67 61 74 6f 72 2e 4c 6f | 63 61 74 69 6f 6e 29 3b |gator.Lo|cation);|
|000003e0| 0d 0a 20 20 20 20 20 20 | 20 20 7d 0d 0a 20 20 20 |.. | }.. |
|000003f0| 20 20 20 20 20 65 6c 73 | 65 0d 0a 20 20 20 20 20 | els|e.. |
|00000400| 20 20 20 7b 0d 0a 20 20 | 20 20 20 20 20 20 20 20 | {.. | |
|00000410| 20 20 41 74 74 61 63 68 | 6d 65 6e 74 20 3d 20 78 | Attach|ment = x|
|00000420| 50 61 77 6e 28 49 6e 73 | 74 69 67 61 74 6f 72 29 |Pawn(Ins|tigator)|
|00000430| 2e 57 65 61 70 6f 6e 41 | 74 74 61 63 68 6d 65 6e |.WeaponA|ttachmen|
|00000440| 74 3b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |t;.. | |
|00000450| 69 66 20 28 41 74 74 61 | 63 68 6d 65 6e 74 20 21 |if (Atta|chment !|
|00000460| 3d 20 4e 6f 6e 65 20 26 | 26 20 28 4c 65 76 65 6c |= None &|& (Level|
|00000470| 2e 54 69 6d 65 53 65 63 | 6f 6e 64 73 20 2d 20 41 |.TimeSec|onds - A|
|00000480| 74 74 61 63 68 6d 65 6e | 74 2e 4c 61 73 74 52 65 |ttachmen|t.LastRe|
|00000490| 6e 64 65 72 54 69 6d 65 | 29 20 3c 20 31 29 0d 0a |nderTime|) < 1)..|
|000004a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004b0| 4e 65 77 4c 6f 63 61 74 | 69 6f 6e 20 3d 20 41 74 |NewLocat|ion = At|
|000004c0| 74 61 63 68 6d 65 6e 74 | 2e 47 65 74 54 69 70 4c |tachment|.GetTipL|
|000004d0| 6f 63 61 74 69 6f 6e 28 | 29 3b 0d 0a 20 20 20 20 |ocation(|);.. |
|000004e0| 20 20 20 20 20 20 20 20 | 65 6c 73 65 0d 0a 20 20 | |else.. |
|000004f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4e | | N|
|00000500| 65 77 4c 6f 63 61 74 69 | 6f 6e 20 3d 20 49 6e 73 |ewLocati|on = Ins|
|00000510| 74 69 67 61 74 6f 72 2e | 4c 6f 63 61 74 69 6f 6e |tigator.|Location|
|00000520| 20 2b 20 49 6e 73 74 69 | 67 61 74 6f 72 2e 45 79 | + Insti|gator.Ey|
|00000530| 65 48 65 69 67 68 74 2a | 56 65 63 74 28 30 2c 30 |eHeight*|Vect(0,0|
|00000540| 2c 31 29 20 2b 20 4e 6f | 72 6d 61 6c 28 6d 53 70 |,1) + No|rmal(mSp|
|00000550| 61 77 6e 56 65 63 41 20 | 2d 20 49 6e 73 74 69 67 |awnVecA |- Instig|
|00000560| 61 74 6f 72 2e 4c 6f 63 | 61 74 69 6f 6e 29 20 2a |ator.Loc|ation) *|
|00000570| 20 32 35 2e 30 3b 20 0d | 0a 20 20 20 20 20 20 20 | 25.0; .|. |
|00000580| 20 20 20 20 20 0d 0a 09 | 09 09 2f 2f 20 73 65 65 | ...|..// see|
|00000590| 20 69 66 20 6c 6f 63 61 | 6c 20 70 6c 61 79 65 72 | if loca|l player|
|000005a0| 20 63 6f 6e 74 72 6f 6c | 6c 65 72 20 6e 65 61 72 | control|ler near|
|000005b0| 20 62 75 6c 6c 65 74 2c | 20 62 75 74 20 6d 69 73 | bullet,| but mis|
|000005c0| 73 65 64 0d 0a 09 09 09 | 50 43 20 3d 20 4c 65 76 |sed.....|PC = Lev|
|000005d0| 65 6c 2e 47 65 74 4c 6f | 63 61 6c 50 6c 61 79 65 |el.GetLo|calPlaye|
|000005e0| 72 43 6f 6e 74 72 6f 6c | 6c 65 72 28 29 3b 0d 0a |rControl|ler();..|
|000005f0| 09 09 09 69 66 20 28 20 | 28 50 43 20 21 3d 20 4e |...if ( |(PC != N|
|00000600| 6f 6e 65 29 20 26 26 20 | 28 50 43 2e 50 61 77 6e |one) && |(PC.Pawn|
|00000610| 20 21 3d 20 4e 6f 6e 65 | 29 20 29 0d 0a 09 09 09 | != None|) ).....|
|00000620| 7b 0d 0a 09 09 09 09 44 | 69 72 20 3d 20 4e 6f 72 |{......D|ir = Nor|
|00000630| 6d 61 6c 28 6d 53 70 61 | 77 6e 56 65 63 41 20 2d |mal(mSpa|wnVecA -|
|00000640| 20 4e 65 77 4c 6f 63 61 | 74 69 6f 6e 29 3b 0d 0a | NewLoca|tion);..|
|00000650| 09 09 09 09 4c 69 6e 65 | 50 6f 73 20 3d 20 28 4e |....Line|Pos = (N|
|00000660| 65 77 4c 6f 63 61 74 69 | 6f 6e 20 2b 20 28 44 69 |ewLocati|on + (Di|
|00000670| 72 20 64 6f 74 20 28 50 | 43 2e 50 61 77 6e 2e 4c |r dot (P|C.Pawn.L|
|00000680| 6f 63 61 74 69 6f 6e 20 | 2d 20 4e 65 77 4c 6f 63 |ocation |- NewLoc|
|00000690| 61 74 69 6f 6e 29 29 20 | 2a 20 44 69 72 29 3b 0d |ation)) |* Dir);.|
|000006a0| 0a 09 09 09 09 4c 69 6e | 65 44 69 72 20 3d 20 50 |.....Lin|eDir = P|
|000006b0| 43 2e 50 61 77 6e 2e 4c | 6f 63 61 74 69 6f 6e 20 |C.Pawn.L|ocation |
|000006c0| 2d 20 4c 69 6e 65 50 6f | 73 3b 0d 0a 09 09 09 09 |- LinePo|s;......|
|000006d0| 69 66 20 28 20 56 53 69 | 7a 65 28 4c 69 6e 65 44 |if ( VSi|ze(LineD|
|000006e0| 69 72 29 20 3c 20 31 35 | 30 20 29 0d 0a 09 09 09 |ir) < 15|0 ).....|
|000006f0| 09 7b 0d 0a 09 09 09 09 | 09 53 65 74 4c 6f 63 61 |.{......|.SetLoca|
|00000700| 74 69 6f 6e 28 4c 69 6e | 65 50 6f 73 29 3b 0d 0a |tion(Lin|ePos);..|
|00000710| 09 09 09 09 09 69 66 20 | 28 20 46 52 61 6e 64 28 |.....if |( FRand(|
|00000720| 29 20 3c 20 30 2e 35 20 | 29 0d 0a 09 09 09 09 09 |) < 0.5 |).......|
|00000730| 09 50 6c 61 79 53 6f 75 | 6e 64 28 73 6f 75 6e 64 |.PlaySou|nd(sound|
|00000740| 27 49 6d 70 61 63 74 33 | 53 6e 64 27 2c 2c 2c 2c |'Impact3|Snd',,,,|
|00000750| 38 30 29 3b 0d 0a 09 09 | 09 09 09 65 6c 73 65 0d |80);....|...else.|
|00000760| 0a 09 09 09 09 09 09 50 | 6c 61 79 53 6f 75 6e 64 |.......P|laySound|
|00000770| 28 73 6f 75 6e 64 27 49 | 6d 70 61 63 74 37 53 6e |(sound'I|mpact7Sn|
|00000780| 64 27 2c 2c 2c 2c 38 30 | 29 3b 0d 0a 09 09 09 09 |d',,,,80|);......|
|00000790| 7d 0d 0a 09 09 09 7d 0d | 0a 09 09 09 53 65 74 4c |}.....}.|....SetL|
|000007a0| 6f 63 61 74 69 6f 6e 28 | 4e 65 77 4c 6f 63 61 74 |ocation(|NewLocat|
|000007b0| 69 6f 6e 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 20 |ion);.. | |
|000007c0| 20 20 20 53 70 61 77 6e | 28 4d 75 7a 46 6c 61 73 | Spawn|(MuzFlas|
|000007d0| 68 33 43 6c 61 73 73 29 | 3b 0d 0a 20 20 20 20 20 |h3Class)|;.. |
|000007e0| 20 20 20 7d 0d 0a 20 20 | 20 20 7d 0d 0a 0d 0a 20 | }.. | }.... |
|000007f0| 20 20 20 69 66 20 28 20 | 45 66 66 65 63 74 49 73 | if ( |EffectIs|
|00000800| 52 65 6c 65 76 61 6e 74 | 28 6d 53 70 61 77 6e 56 |Relevant|(mSpawnV|
|00000810| 65 63 41 20 2b 20 48 69 | 74 4e 6f 72 6d 61 6c 2a |ecA + Hi|tNormal*|
|00000820| 32 2c 66 61 6c 73 65 29 | 20 26 26 20 28 48 69 74 |2,false)| && (Hit|
|00000830| 4e 6f 72 6d 61 6c 20 21 | 3d 20 56 65 63 74 28 30 |Normal !|= Vect(0|
|00000840| 2c 30 2c 30 29 29 20 29 | 0d 0a 09 09 53 70 61 77 |,0,0)) )|....Spaw|
|00000850| 6e 28 63 6c 61 73 73 27 | 53 6e 69 70 65 72 57 61 |n(class'|SniperWa|
|00000860| 6c 6c 48 69 74 45 66 66 | 65 63 74 27 2c 2c 2c 20 |llHitEff|ect',,, |
|00000870| 6d 53 70 61 77 6e 56 65 | 63 41 2c 20 72 6f 74 61 |mSpawnVe|cA, rota|
|00000880| 74 6f 72 28 2d 31 20 2a | 20 48 69 74 4e 6f 72 6d |tor(-1 *| HitNorm|
|00000890| 61 6c 29 29 3b 0d 0a 7d | 0d 0a 0d 0a 00 |al));..}|..... |
+--------+-------------------------+-------------------------+--------+--------+